<?php echo '<?xml version="1.0" encoding="UTF-8" ?>'; ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?php echo $this->pageTitle; ?></title>
</head>

<body>
<a href="<?php echo $this->baseUrl; ?>">Home</a> | <a href="<?php echo $this->baseUrl; ?>/news">News</a>
<?php
if ($this->authenticated) {
	echo "| <a href=\"{$this->baseUrl}/admin\">Admin Panel</a>";
}

if ($this->authenticated) {
    ?>
    | <a href="<?php echo $this->baseUrl ?>/user/edit">Edit Profile</a>
    | <a href="<?php echo $this->baseUrl ?>/user/logout">Logout</a>
    <?php
} else {
    ?>
    | <a href="<?php echo $this->baseUrl ?>/user/login">Login</a>
    <?php
}
?>
<br /><br /><br />

<?php echo $this->content; ?>

</body>
</html>